<template>
    <div id="app">
		<top-bar :title = "title"></top-bar>
    	<router-view/>
    </div>
</template>

<script>
import topBar from '@/common/topBar/topBar'
import { mapState } from 'vuex'
export default {
  	name: 'App',
  	components : {
  		topBar
    },
  	computed : {
  		...mapState(['title'])
  	}
}
</script>

<style>
#app {
  font-family: "PingFangSC-Light",sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</style>
